<?php

namespace app\common\model;

use think\Model;

/**
 * 品牌模型
 */
class Brand Extends Model
{

    public function news()
    {
        $this->hasMany('brand_news', 'brand_id')->setEagerlyType(0);
    }
}
